package transactionimplementation
/*
 * 增加正常雇员
 */

import (
	"salary/abstracttransactions"
	"salary/model"
	"salary/modelimplementation"
)

type AddSalariedEmployee struct {
	abstracttransactions.AddEmployeeTransaction
	salary float64
}

func (ase *AddSalariedEmployee) GetClassification() model.PaymentClassification {
	return modelimplementation.NewSalariedClassification(ase.salary)
}

func (ase *AddSalariedEmployee) GetSchedule() model.PaymentSchedule {
	return &modelimplementation.MonthlySchedule{}
}
